package com.ddx.dao;

import com.ddx.dto.ShoppingAccountFlowVo;
import com.ddx.pojo.ShoppingAccountFlow;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShoppingAccountFlowMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShoppingAccountFlow record);

    int insertSelective(ShoppingAccountFlow record);

    ShoppingAccountFlow selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShoppingAccountFlow record);

    int updateByPrimaryKey(ShoppingAccountFlow record);

    //@LZ_TAG_ID: METHOD BEGIN 自定义方法
    /**
     * 查询流水
     * @param record
     * @return
     */
    List<ShoppingAccountFlow> selectByrecord(ShoppingAccountFlowVo record);

    Integer selectCountByrecord(ShoppingAccountFlowVo record);
    //@LZ_TAG_ID: METHOD END

}